package com.newgoldcurrency.activities.register;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.newgoldcurrency.databinding.ActivityRegisterMailOccupiedBinding;

public class RegisterMailOccupiedActivity extends AppCompatActivity {

    private ActivityRegisterMailOccupiedBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
         binding = ActivityRegisterMailOccupiedBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        setResult(1);
        binding.mailOccupiedBack.setOnClickListener(v -> finish());
        binding.mailOccupiedReturn.setOnClickListener(v -> finish());
        binding.mailOccupiedForget.setOnClickListener(v -> {
            setResult(3);
            finish();
        });
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        binding=null;
    }
}